import request from '@/utils/request'

//提交表单接口
export const saveForm = (params:any) => {
  return request({
    url: params.url,
    method:params.method,
    data: params.data
  })
}
//上传图片
export function uploadImage(params:any) {
  return request({
    url: '/upload',
    method: 'post',
    data:params,
    type:'file'
  })
}


